package cn.tedu.hospital.outpatient.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@FieldDefaults(level = lombok.AccessLevel.PRIVATE)
public class OutpationQuery {
    @ApiModelProperty(value = "患者姓名")
    String name;
    @ApiModelProperty(value = "预约单状态")
    Integer appointmentState;
    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    Date startTime;
    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    Date endTime;

}
